package com.aspose.cells;

import java.util.Comparator;

class zaef implements Comparator {
   public int compare(Object obj1, Object obj2) {
      CellArea var3 = (CellArea)obj1;
      CellArea var4 = (CellArea)obj2;
      if (var3.StartRow > var4.StartRow) {
         return 1;
      } else if (var3.StartRow < var4.StartRow) {
         return -1;
      } else if (var3.StartColumn > var4.StartColumn) {
         return 1;
      } else {
         return var3.StartColumn < var4.StartColumn ? -1 : 0;
      }
   }
}
